Grammar-centered Development of VDM Support

نویسندگان

  • Tiago Alves
  • Joost Visser
چکیده

Starting from the ISO language reference, we have developed an industrial strength grammar for the VDM specification language. We summarize both the development process and its result. The employed methodology can be described as iterative grammar engineering and includes application of techniques such as grammar metrication, unit testing, and test coverage analysis. The result is a VDM grammar of industrial strength, in the sense that it is well-tested, it can be used for fast parsing of high volumes of VDM specifications, and it allows automatic generation of support for syntax tree representation, traversal, and interchange. In particular, we have generated Haskell support for parsing VDM, traversing the resulting ASTs, representing the ASTs in XML and in the ATerm maximal sharing interchange format, and for pretty-printing the ASTs back to VDM’s surface syntax. This front-end has proven its usefulness in the implementation of VooDooM, a tool that supports generation of relational models from VDM data types.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Contextualizing Grammar Instruction through Meaning-Centered Planned Pre-emptive Treatment and Enhanced Input in an EFL Context

This study has aimed to compare the effects of two types of form-focused instruction, i.e. de-contextualized focus-on-forms instruction versus meaning-centered contextualized focus-on-form instruction, on the development of grammatical knowledge of Iranian high-school students. Two groups of male high-school first graders participated in this study.  One group was taught through de-contextualiz...

متن کامل

Two-Level Grammar as an Object-Oriented Requirements Specification Language

Two-Level Grammar (TLG) is proposed QS an object-oriented requirements specification language with Q natural language (NL) style but suficiently formal to allow automatic transformation of the TLG specification into formal specifications in VDM++, an object-oriented version of the Vienna Development Method. The VDM++ specification may be further transformed into JavaTM code or integrated with t...

متن کامل

VidaMine: User-Centred Development of a Visual Mining Environment

Tremendous technological breakthroughs have virtually revolutionized the world. One major consequence is that humans are confronted with ever-increasing already massive amounts of data at virtually every turn. Visual data mining (VDM) intends to exploit effective visual strategies in the entire process of mining knowledge. Though there have been many efforts in this area, most of them have paid...

متن کامل

Code Graphical Notation Coupling Module External Code Coupling Module Interpreter & Debugger Type Checker Syntax Checker Code Generator VDM Tools Specification Manager Test Coverage and Statistics Tool Document Generator Document Browser Dependency Class UML

At the beginning of the seventies a new software development paradigm was invented at the IBM laboratories in Vienna 12]. To show respect for the origin of this technique its name was the Vienna Development Method (or VDM as an acronym). The main contribution of this work was the development of a speciication language which was used to give a precise semantics to a complex programming language....

متن کامل

The Association between Patient-centered Hidden Curriculum and Medical Students’ Communication Skills

Introduction: Nowadays, physicians, medical organizations, and policy makers increasingly emphasize patient centered medical care. Regarding the importance of hidden curriculum in development of medical students’ professional behaviors, this study was conducted to investigate correlation between patient-centered hidden curriculum and medical students’ communication skills. Methods: This descri...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2005